package com.ibeeking.found.content.api.common.param;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ClassName SceneWxAppletsQrCodeParam
 * @Description
 * @Author ibeeking
 * @Date 2021-03-24 17:47
 **/
@Data
public class SceneWxAppletsQrCodeParam implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 是否上传
     */
    private Boolean upload;

    /**
     * /pages/publishHomework/publishHomework
     */
    @NotBlank(message = "小程序路由页面必填")
    private String path;

    /**
     * 场景参数
     */
    private String query;

    /**
     * 有效时间，单位：秒
     */
    private Long expireTime;

    /**
     * 扫码场景
     */
    @NotNull(message = "小程序码场景")
    private String qrScene;
}
